package com.mayflygeek.mayflyask.util;

import java.text.SimpleDateFormat;
import java.util.Date;
/**
 * @author 蝈蝈 
 * @email guodefu909@126.com
 * @team 蜉蝣极客
 * @link www.mayflygeek.com
 * 日期工具类
 */
public class DateUtils {
	
	private DateUtils() {
	}

	public static String getDateString(Date date){
		SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
		return formatter.format(date);
	}
	
}
